<body style="margin:0">
  <div style="background: blue; width: 100%; height: 100%; position: absolute; overflow: hidden;">
    <div style="background: red; height: 40px; position: absolute; width: 40px; box-shadow: 10px 10px 10px black;"></div>
  </div>
</body>
